const instanceCtlPrefix = "equip/instance";
const recordCtlPrefix = "equip/operate";
const memberCtlPrefix = "equip/member";
export const RoleMap = {
  "clinic:manger": "管理员",

}
export const API = {
  captcha: 'captchaImage?type=math',
  login: 'login',
  userInfo: "getInfo",
  backendWs: "yoshitest/ws",
  riskPatient: "yoshitest/test1",
  getAllUnreadNotifications: "yoshitest/test3",
  getChatHistory: "yoshitest/test2",
  getChatTargetList: "yoshitest/test4",
  markNotificationAsRead: "yoshitest/markNotificationAsRead",
  equipList: "equip/info/p",
  createEquip: "equip/info",
  addFeedback: "feedback/addFeedback",
  addComplaint: "complaint/addComplaint",
  getComplaints: "complaint/getComplaints",
  getComplaintById: "complaint/getComplaintById",
  getDoctorList: "doctor/listDoctors",
  getDoctorById: "doctor/getDoctorById",
  getPatientList: "patient/listPatients",
  getPatientById: "patient/getPatientById",
  getAgreementLetters: "agreementLetter/listAgreementLetters",
  getAgreementLetterById: "agreementLetter/getAgreementLetterById",
  getAgreementLetterBaseInfoList: "agreementLetter/getAgreementLetterBaseInfos",
  getMedicalEquipmentList: "agreementLetter/getMedicalEquipments",
  getAgreementLetterBaseInfoById: "agreementLetter/getAgreementLetterBaseInfoById",
  getMedicalEquipmentById: "agreementLetter/getMedicalEquipmentById",
  sendAgreementLetter: "agreementLetter/sendAgreementLetter",
  signAgreementLetter: "agreementLetter/signAgreementLetter",
  getMaterialBaseInfoList: "postOperationMaterial/getMaterialBaseInfos",
  sendMaterial: "postOperationMaterial/sendMaterial",
  getMaterials: "postOperationMaterial/listMaterials",
  getMaterialById: "postOperationMaterial/getMaterialById",
  getMaterialBaseInfoById: "postOperationMaterial/getMaterialBaseInfoById",
  instanceList: `${instanceCtlPrefix}/p`,
  instanceTotalGroup: `${instanceCtlPrefix}/group/total`,
  equipStatus: `${instanceCtlPrefix}/equipStatus`,
  equipUsingList: `${instanceCtlPrefix}/myUsing`,
  equipUsingCount: `${instanceCtlPrefix}/myUsing/count`,
  equipOp: 'equip/operate/change',
  changeWaitConfirm: 'equip/operate/changeWaitConfirm',
  equipChange: "equip/operate/confirmUse",
  almostUnEffect: `${instanceCtlPrefix}/almostUnEffect`,
  almostUnEffectCount: `${instanceCtlPrefix}/almostUnEffect/count`,
  waitConfirmGroup: `${instanceCtlPrefix}/group/waitConfirm`,
  waitConfirmGroupCount: `${instanceCtlPrefix}/group/waitConfirm/count`,
  listInfo: `${instanceCtlPrefix}/listInfo`,
  usingRecords: `${recordCtlPrefix}/useRecords/`,
  useHistory: `${recordCtlPrefix}/useHistory/`,
  useHistoryTime: `${recordCtlPrefix}/useHistory/time/`,
  useHistoryTimeAll: `${recordCtlPrefix}/useHistory/time/all/`,
  memberList: `${memberCtlPrefix}/lists`,
  memberCreate: `${memberCtlPrefix}`,
  cateList: `${instanceCtlPrefix}/cateList`
}
export const rootPath = "https://www.qixietracker.com/api/";
//export const rootPath = "http://20.6.34.117:8080/";
// export const rootPath = "https://122.152.207.62/";
//export const rootPath = "http://127.0.0.1:8080/api/";
export const wsPath = "wss://www.qixietracker.com/api/";
//export const wsPath = "ws://127.0.0.1:8080/api/"
export const HomePath = "/pages/home/home";
export const LoginPage = "/pages/index/index";
export const CLINIC_MANAGER_CODE = "clinic:manger";
export const defaultPage = {
  current: 1,
  size: 10
}

export const equipStatusEnum = {
  ON_USE: "使用中",
  ENABLE: "可领用",
  CLEANING: "消毒中",
  DISINFECTING: "消毒中",
  DISCARD: "已废弃"
}


export const cateData = ["全部", '口腔内科', '口腔外科', '牙体2牙髓科', "种植科"];
// const currentTab='全部';
export const cateMapper = {
  '全部': "ALL",
  "口腔内科": "A",
  "口腔外科": "B",
  "牙体牙髓科": "C",
  "种植科": "D"
}